package com.xiaoban.mapper;

import com.xiaoban.pojo.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author XiaoBanGe
* @description 针对表【sys_user(用户表)】的数据库操作Mapper
* @createDate 2024-03-15 17:35:58
* @Entity com.xiaoban.pojo.Users
*/
public interface UsersMapper extends BaseMapper<Users> {

    /**
     * 根据用户名查询用户信息
     * @param username
     * @return
     */
    Users selectByName(@Param("username") String username);
}




